package com.xiaoxu.rental.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaoxu.rental.vo.FinanceCostVo;
import com.xiaoxu.rental.vo.FinanceNumDayVo;
import com.xiaoxu.rental.vo.FinanceNumMonthVo;
import org.apache.poi.ss.formula.functions.Finance;

import java.util.List;

/**
 * @Title: FinanceMapper
 * @Author Mr.Xu
 * @Package com.xiaoxu.rental.mapper
 * @Date 2024/8/1 19:40
 * @description:
 */
public interface FinanceMapper extends BaseMapper<Finance> {

    List<FinanceNumDayVo> countDayRental();

    List<FinanceNumDayVo> countDayReturn();

    FinanceCostVo sumRentPay();

    Integer sumDeposit();

    List<FinanceNumMonthVo> countMonthRental();

    List<FinanceNumMonthVo> countMonthReturn();

    FinanceCostVo sumRentPayMonth();

    Integer sumDepositMonth();
}
